<?php
class API_Response {
	
	private $headers = array();
	private $data = '';
	
	public function getData() {
		return $this->data;
	}
	
	public function getHeaders() {
		return $this->headers;
	}
	
	public function getHeader( $header ) {
		if( array_key_exists($header, $this->headers) ) {
			return $this->headers[ $header ];
		}
		return '';
	}
	
	public function getRemoteHost() {
		
	}
	
	public function getRemoteAddress() {
		
	}
	
	public function getRespnoseTime() {
		
	}
	
	public function getStatus() {
		return $this->getHeader('status');
	}
}